import request from '/@/request/https'
import { AxiosPromise } from 'axios'

export interface submitParam {
    credential: string
}


// 客户详情
export function customDetail(data): AxiosPromise {
    return request({
        url:"/inspectionTask/customDetail",
        method: 'post',
        data
    })
}
// 短链接
export function getUrlParam(data): AxiosPromise {
    return request({
        url:"/inspectionTask/getUrlParam",
        method: 'post',
        data
    })
}
// 告知信
export function notificationLetteradssa(data): AxiosPromise {
    return request({
        url:"/letterController/notificationLetteradssa",
        method: 'post',
        data
    })
}
// 校验用户唯一标识
export function  validatorCustomMark(data): AxiosPromise {
    return request({
        url:`/letterController/validatorCustomMark`,
        method: 'post',
        data
    })
}

// 一键重新生成检视报告

export function oneTouchCreatTask(data): AxiosPromise {
  return request({
    url: `/policyReportQuery/oneTouchCreatReport`,
    method: 'post',
    data
  })
}